#include <nice2d/components/group.h>

IMPLEMENT_OBJECT(Group, Component)

class GroupData
{
public:
    uint32_t groupID = 0;
};

Group::Group(NodePointer object):
    Component(object),
    data(new GroupData())
{
}

Group::~Group()
{
}

void Group::setGroup(uint32_t group)
{
    data->groupID = group;
}

uint32_t Group::getGroup() const
{
    return data->groupID;
}
